<div class="inner-block">
<form name="frm_select_semester">
<table>
<thead>
	<tr>
    	<th class="course_radio">&nbsp;</th>
    	<th class="course_code">Semester</th>
</tr></thead>

<tbody>
	<?php foreach($db_entries as $db_entry): ?>
    	
		<tr>
        	<td>
			<?php 
				$data = array('name' => 'semester_radio', 'value' => $db_entry->semester_name, 'id' => $db_entry->id);
				echo form_radio($data);
			?>

            </td>
        	<td><?php echo $db_entry->semester_name; ?></td>
    	</tr>    
    <?php endforeach ?>
</tbody>
</table>

<div class="input-block">
	<input type="button" value="Submit" onclick="post_value_semester();">
</div>
</form>
</div>

</div>

